taxi.PartnerManager = function(remoteEngine) {
	this.fromAddress = undefined;
	this.toAddress = undefined;
	this._currentRoute = undefined;
	this._remote = remoteEngine;
}

taxi.PartnerManager.prototype.retrievePartners = function(inRoute,
		successHandler, faultHandler) {
	this._remote.JSON('ppartners', {
		"route.fromPoint" : inRoute.origin.getLatLon(),
		"route.toPoint" : inRoute.destination.getLatLon(),
		"route.distance" : inRoute.distance,
		"route.duration" : inRoute.duration,
		"route.party" : 0
	}, successHandler, faultHandler);
}
